package com.qfedu.openplateform.manager.service.impl;

import com.qfedu.openplateform.manager.dao.AppInfoMapper;
import com.qfedu.openplateform.manager.entity.AppInfo;
import com.qfedu.openplateform.manager.service.AppInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AppInfoServiceImpl implements AppInfoService {
    @Autowired
    private AppInfoMapper appInfoMapper;
    @Override
    public List<AppInfo> findAll(AppInfo appInfo) {
        return appInfoMapper.findAll(appInfo);
    }

    @Override
    public int insertAppInfo(AppInfo appInfo) {
        return appInfoMapper.insertAppInfo(appInfo);
    }

    @Override
    public int updateAppInfo(AppInfo appInfo) {
        return appInfoMapper.updateAppInfo(appInfo);
    }

    @Override
    public int delAppInfo(Integer[] ids) {
        return appInfoMapper.delAppInfo(ids);
    }

    @Override
    public AppInfo findcorpName(Integer id) {
        return appInfoMapper.findcorpName(id);
    }


}
